package cn.basic.social.api.dingtalk.channel.internal.response;

import cn.basic.social.api.dingtalk.DingResponse;

import java.io.Serializable;

/**
 * @ClassName InternalGetAccessTokenResponse
 * @Description 获取企业内部应用的accessToken返回值
 * @Author yk.zlf
 * @Date 2023/10/20 16:06
 */
public class InternalGetAccessTokenResponse extends DingResponse implements Serializable {

    /**
     * 生成的accessToken
     */
    private String accessToken;

    /**
     * 超时时间，单位秒
     */
    private Long expireIn;

    public InternalGetAccessTokenResponse() {
    }

    public InternalGetAccessTokenResponse(String accessToken, Long expireIn) {
        this.accessToken = accessToken;
        this.expireIn = expireIn;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Long getExpireIn() {
        return expireIn;
    }

    public void setExpireIn(Long expireIn) {
        this.expireIn = expireIn;
    }
}
